// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'

import Element from 'element-ui'
// import './styles/element-variables.scss'
import 'element-ui/lib/theme-chalk/index.css'

// 引入公共样式
import './assets/less/index.less'

// px2rem 自适应
import 'lib-flexible'

import './utils/flexible'

import VConsole from 'vconsole'

// eslint-disable-next-line no-new
new VConsole()

Vue.use(Element)

Vue.config.productionTip = false

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  components: { App },
  template: '<App/>'
})
